module.exports = {
  publicPath: "./",
  lintOnSave: false,
  devServer:{
    host: "localhost",
    port: "3585",
    proxy: {
        '/akon': {
          target: 'https://api.it120.cc',
          changeOrigin: true
        },
        '/user': {
          target: 'http://localhost:5523',
          changeOrigin:true,
          pathRewrite:{
            '^/user':"http://localhost:5523"
          }
        }
      }
  },
  configureWebpack: {
    resolve: {
      alias: {
        'assets': '@/assets',
        'components': '@/components',
        'views': '@/views',
        "services": "@/services",
        "utils":"@/utils"
      }
    }
  }
};
